package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 商品小类
 * </p>
 *
 * @author zcx,ftl,gr,rhs
 * @since 2021-12-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("goods_small")
@ApiModel(value="GoodsSmall对象", description="商品小类")
public class GoodsSmall implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "小类编号")
    @TableId(value = "goods_small_id", type = IdType.AUTO)
    private Integer goodsSmallId;

    @ApiModelProperty(value = "小类名称")
    @TableField("goods_small_name")
    private String goodsSmallName;

    @ApiModelProperty(value = "关联大类id")
    @TableField("goods_general_id")
    private Integer goodsGeneralId;

    @ApiModelProperty(value = "冗余了大类名称")
    @TableField("goods_general_name")
    private String goodsGeneralName;

    @ApiModelProperty(value = "小类图标")
    @TableField("goods_small_picture")
    private String goodsSmallPicture;

    @ApiModelProperty(value = "小类默认2级")
    @TableField("goods_small_leave")
    private String goodsSmallLeave;

    @ApiModelProperty(value = "单位")
    @TableField("goods_small_unit")
    private String goodsSmallUnit;

    @ApiModelProperty(value = "鉴定图保存为json字符串")
    @TableField("goods_small_appraisal")
    private String goodsSmallAppraisal;

    @ApiModelProperty(value = "分类描述")
    @TableField("goods_small_describe")
    private String goodsSmallDescribe;

    @ApiModelProperty(value = "显示状态（禁用状态判定 默认：0 显示）")
    @TableField("goods_small_status")
    private Integer goodsSmallStatus;


}
